$OpenBSD: patch-src_utf8_checked_h,v 1.1 2017/05/17 23:08:23 espie Exp $
Declare function prior to use, templates are not macros

Index: src/utf8/checked.h
--- src/utf8/checked.h.orig
+++ src/utf8/checked.h
@@ -65,6 +65,8 @@ namespace utf8
 
     /// The library API - functions intended to be called by the users
 
+    template <typename octet_iterator>
+    octet_iterator append(uint32_t cp, octet_iterator result);
     template <typename octet_iterator, typename output_iterator>
     output_iterator replace_invalid(octet_iterator start, octet_iterator end, output_iterator out, uint32_t replacement)
     {
